package com.gitee.kamismile.stone.basic.data.domain.sysdic.repository.persistence;

import com.gitee.kamismile.stone.basic.data.domain.sysdic.repository.entity.SysDictionary;
import org.springframework.data.domain.Example;
import org.springframework.data.relational.core.query.Criteria;
import reactor.core.publisher.Mono;

public interface ISysDictionaryPersistence {
    Mono<SysDictionary> findOne(Criteria criteria);

    Mono<SysDictionary> save(SysDictionary entity);


    Mono<Void> deleteDicById(Integer nSysDictionaryId,Integer nTenantId);

}
